package com.biz.primus.ms.geo.event;

import com.biz.primus.base.redis.CrudRedisDao;
import com.biz.primus.base.redis.bean.BaseRedisObject;
import com.biz.primus.ms.base.event.LocalEvent;
import lombok.ToString;

/**
 * GeoUpdateEvent
 *
 * @author jia JKLiues
 * @date 2017年09月18日
 * @reviewer
 * @see
 */
@ToString
public class GeoUpdateEvent extends LocalEvent {
    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public CrudRedisDao crudRedisDao;
    public BaseRedisObject redisObject;

    public GeoUpdateEvent(Object source) {
        super(source);
    }

    public GeoUpdateEvent(Object source, CrudRedisDao crudRedisDao, BaseRedisObject redisObject) {
        super(source);
        this.crudRedisDao = crudRedisDao;
        this.redisObject = redisObject;
    }
}